CREATE TABLE [dbo].[TCANTC_LETR]
(
[CO_EMPR] [dbo].[TD_VC_002] NOT NULL,
[CO_UNID_CONC] [dbo].[TD_VC_003] NOT NULL,
[NU_AMAR] [dbo].[TD_VC_008] NOT NULL,
[FE_AMAR] [dbo].[TD_DT_001] NOT NULL,
[CO_CLIE] [dbo].[TD_VC_020] NOT NULL,
[CO_TIPO_OPER] [dbo].[TD_VC_003] NOT NULL,
[FA_TIPO_CAMB] [dbo].[TD_NU_015_006] NOT NULL,
[ST_CONT] [dbo].[TD_VC_001] NOT NULL,
[DE_OBSE] [dbo].[TD_VC_100] NULL,
[NU_PROC] [dbo].[TD_IN_001] NULL CONSTRAINT [DF__TCANTC_LE__NU_PR__4BAC3F29] DEFAULT ((0)),
[NU_LETR_GENE] [dbo].[TD_VC_020] NULL,
[TI_SITU] [dbo].[TD_VC_003] NOT NULL,
[CO_USUA_CREA] [dbo].[TD_VC_008_USUA] NOT NULL CONSTRAINT [DF__TCANTC_LE__CO_US__4CA06362] DEFAULT (suser_sname()),
[FE_USUA_CREA] [dbo].[TD_DT_001_SIST] NOT NULL CONSTRAINT [DF__TCANTC_LE__FE_US__4D94879B] DEFAULT (getdate()),
[CO_USUA_MODI] [dbo].[TD_VC_008_USUA] NOT NULL CONSTRAINT [DF__TCANTC_LE__CO_US__4E88ABD4] DEFAULT (suser_sname()),
[FE_USUA_MODI] [dbo].[TD_DT_001_SIST] NOT NULL CONSTRAINT [DF__TCANTC_LE__FE_US__4F7CD00D] DEFAULT (getdate())
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TCANTC_LETR] ADD CONSTRAINT [PK__TCANTC_L__DA2E927F6FCA6F65] PRIMARY KEY CLUSTERED  ([CO_EMPR], [CO_UNID_CONC], [NU_AMAR], [FE_AMAR]) ON [PRIMARY]
GO
